package com.general.framework.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.general.framework.serializer.UserSerializer;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonIgnore;

@Data
@JsonSerialize(using = UserSerializer.class)
public class User {
    private Long id; // 用户ID
    private String username; // 用户名

    private String password; // 密码
    
    private Integer status; // 状态: 1正常, 0禁用
}